/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 */

import util from 'util';

import { Message } from '../../common/daemon-protocol/message.js';
import { HvigorLogger } from '../../log/hvigor-log.js';

export function handleClientMsgError(log: HvigorLogger, msg: Message) {
  log.warn('Received client exception type information.');
  log.warn(`receive client message: ${util.format(msg)}`);
}
